<%@ page language="java" contentType="text/html; charset=ISO-8859-1" pageEncoding="ISO-8859-1"%>
<%@ taglib prefix="f"  uri="http://java.sun.com/jsf/core"%>
<%@ taglib prefix="h"  uri="http://java.sun.com/jsf/html"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>POI list</title>
</head>
<body>
<f:view>
	<h:form>
		<table border=1>
			<tr align=center bgcolor="lightgrey">
				<td>ID</td>
				<td>Name</td>
				<td>Link</td>		
			</tr>
			<c:forEach var="item" items="#{poiSearch.data}"  varStatus="status">
				<tr>
					<td><c:out value="${item.pointID}"/></td>
					<td><c:out value="${item.name}"/></td>
					<td><a href='/POISystem/faces/Update.jsp?itemID=<c:out value="${item.pointID}"/>'>Edit</a></td>
				</tr>
			</c:forEach>
		</table>
	</h:form>
</f:view>
</body>
</html>